package com.guijq.design.command.simpleremote;

/**
 * @author yangjf
 * @version 0.1.0
 * @time 2018/10/23/023
 */
public class LightOnCommand implements Command {
    Light light;

    public LightOnCommand(Light light) {
        this.light = light;
    }

    @Override
    public void execute() {
        light.on();
    }
}
